package com.hsw.habit.service;

import com.hsw.habit.model.NoteGroups;
import com.hsw.habit.model.bean.ListResponse;

import java.util.List;

public interface NoteGroupService {

    NoteGroups selectGroupById(Integer id);

    List<NoteGroups> selectGroupsByUserId(Integer userId);

    List<NoteGroups> selectByUserId(Integer userId);

    boolean insertGroup(NoteGroups groupModel);

    boolean updateGroup(NoteGroups groups);

    boolean deleteGroup(Integer id);
}
